package com.village.friend.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 交易订单
 * </p>
 *
 * @author yl
 * @since 2021-08-23
 */
@Data
public class UserOrder implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;
    private Integer userId;
    private String name;
    private String productName;
    private BigDecimal orderAmount;
    private BigDecimal profitAmount;
    private String payStatus;
    private String failedReason;
    private Integer orderPeriod;
    private LocalDateTime expireTime;
    private String remark;
    private String payWayName;
    private String payTypeNo;
    private String payTypeName;
    private String splitFlag;
    private String reconFlag;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer parent;

}
